﻿using MongoDB.Bson;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BusinessDB
{
    [Serializable]
    public class ProdDB : IEntity
    {
        public ObjectId Id { get; set; }

        /// <summary>
        /// 主要信息：产品分类
        /// </summary>
        public int ProdClass { get; set; }
        /// <summary>
        /// 主要信息：使用场所
        /// </summary>
        public int ProdPlace { get; set; }
        /// <summary>
        /// 主要信息：产地
        /// </summary>
        public int ProdOrgin { get; set; }
        /// <summary>
        /// 主要信息：产品系列
        /// </summary>
        public string ProdSeries { get; set; }
        /// <summary>
        /// 主要信息：规格型号
        /// </summary>
        public string ProdVersion { get; set; }
        /// <summary>
        /// 主要信息：产品品牌
        /// </summary>
        public string ProdLabel { get; set; }

        /// <summary>
        /// 物理参数：防撞击等级
        /// </summary>
        public int PhyImpact { get; set; }
        /// <summary>
        /// 物理参数：产品重量
        /// </summary>
        public double PhyWeight { get; set; }
        /// <summary>
        /// 物理参数：外观颜色
        /// </summary>
        public string PhyColor { get; set; }
        /// <summary>
        /// 物理参数：外形尺寸
        /// </summary>
        public string PhySize { get; set; }
        /// <summary>
        /// 物理参数：防护等级
        /// </summary>
        public string PhyDefend { get; set; }
        /// <summary>
        /// 物理参数：材质说明
        /// </summary>
        public string PhyMaterial { get; set; }

        /// <summary>
        /// 适配光源：光输出
        /// </summary>
        public int AdpOutput { get; set; }
        /// <summary>
        /// 适配光源：光源种类
        /// </summary>
        public int AdpClass { get; set; }
        /// <summary>
        /// 适配光源：显色性CRI
        /// </summary>
        public int AdpCri { get; set; }
        /// <summary>
        /// 适配光源：光源型号
        /// </summary>
        public string AdpVersion { get; set; }
        /// <summary>
        /// 适配光源：插脚形式
        /// </summary>
        public string AdpPins { get; set; }
        /// <summary>
        /// 适配光源：色温或颜色
        /// </summary>
        public int AdpColor { get; set; }

        /// <summary>
        /// 电器参数：电器功耗
        /// </summary>
        public int ElePower { get; set; }
        /// <summary>
        /// 电器参数：整灯功耗
        /// </summary>
        public int EleAllPower { get; set; }
        /// <summary>
        /// 电器参数：控制方式
        /// </summary>
        public int EleCtlType { get; set; }
        /// <summary>
        /// 电器参数：光源功率
        /// </summary>
        public int EleLgtPower { get; set; }
        /// <summary>
        /// 电器参数：工作电压
        /// </summary>
        public int EleVoltage { get; set; }
        /// <summary>
        /// 电器参数：防触电等级
        /// </summary>
        public string EleShock { get; set; }
        /// <summary>
        /// 电器参数：电器类型
        /// </summary>
        public string EleType { get; set; }

        // 光学参数
        public int OptExplain { get; set; }
        public double OptEff { get; set; }
        public string OptAngle { get; set; }

        /// <summary>
        /// 工程参数：安装方式
        /// </summary>
        public int ProjSetup { get; set; }
        /// <summary>
        /// 工程参数：可选配件
        /// </summary>
        public string ProjParts { get; set; }
        /// <summary>
        /// 工程参数：安装尺寸
        /// </summary>
        public string ProjSize { get; set; }
        /// <summary>
        /// 工程参数：认证及检测报告
        /// </summary>
        public string ProjReport { get; set; }
        /// <summary>
        /// 工程参数：备注
        /// </summary>
        public string ProjBaikup { get; set; }

        /// <summary>
        /// 商务参数：市场参考价
        /// </summary>
        public double BusMarket { get; set; }
        /// <summary>
        /// 商务参数：参考进价
        /// </summary>
        public double BusIn { get; set; }
        /// <summary>
        /// 商务参数：参考售价
        /// </summary>
        public double BusOut { get; set; }
        /// <summary>
        /// 商务参数：参考货期
        /// </summary>
        public string BusExpires { get; set; }

        /// <summary>
        /// 图表：外观
        /// </summary>
        public string PicFacade { get; set; }
        /// <summary>
        /// 图表：尺寸
        /// </summary>
        public string PicSize { get; set; }
        /// <summary>
        /// 图表：配光
        /// </summary>
        public string PicGrading { get; set; }
        /// <summary>
        /// 图表：实景
        /// </summary>
        public string PicLive { get; set; }
    }
}
